/*
 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2023-2023. All rights reserved.
 */

#ifndef COMBOBOXCOM_H
#define COMBOBOXCOM_H

#include <QComboBox>
#include <QMouseEvent>

namespace BurnDlg {

class ComboBoxCom : public QComboBox {
    Q_OBJECT
public:
    explicit ComboBoxCom(QWidget *parent = nullptr);
    ~ComboBoxCom() override;

    void SetViewWidth() const;
protected:
    void mousePressEvent(QMouseEvent *e) override;
signals:
    void Clicked();
};

}
#endif // COMBOBOXCOM_H
